package ocrs.server.registeringSystem;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

public class UserTest extends TestCase
{
//	public static void main(String[] args)
//	{
//		User abc = new User();
//		
//		// creating classes for the student
//		String classA = "A";
//		String classB = "B";
//		String classC = "C";
//		String classD = "D";
//		
//		// adding classes for the student into a list
//		String[] courseList = new String[10];
//		courseList[0] = classA;
//		courseList[1] = classB;
//		courseList[2] = classC;
//		courseList[3] = classD;
//		
//		abc.setName("David");
//		//abc.addCourseList(courseList);
//		//System.out.println(abc.showUserInformation(""));
//		System.out.println("---------------------------");
//		System.out.println(abc.showCurrentCourses());
//		//abc.removeCourse("A", true);
//		System.out.println(abc.showCurrentCourses());
//		//abc.removeCourse("D", false);
//		System.out.println(abc.showCurrentCourses());
//		System.out.println("---------------------------");
//		
//		// testing teacher methods
//		abc.setPermissionLevel(1);
//		//System.out.println(abc.showUserInformation(""));
//		abc.setDepartment("COMP SCI");
//		//System.out.println(abc.showUserInformation(""));
//		
//		// changing back to a student
//		abc.setPermissionLevel(0);
//		//System.out.println(abc.showUserInformation(""));
//		System.out.println(abc.showCurrentCourses());
//		
//		System.out.println(classA.compareTo(classB));
//	}
} // end of UserTest class